<%@ page language="java" contentType="text/html; charset=UTF-8"
	pageEncoding="UTF-8"%>
<%@ taglib uri="http://java.sun.com/jsp/jstl/core" prefix="c"%>
<%@ taglib uri="http://java.sun.com/jsp/jstl/fmt" prefix="fmt"%>
<%
	String path = request.getContextPath();
%>
<html>
<head lang="en">
    <meta charset="UTF-8">
    <%@include file="style.jsp" %>
    <%@include file="script.jsp" %>
    <link rel="stylesheet" href="${pageContext.request.contextPath}/static/orderlang/distributor/css/delivery_bill.css"/>
    <title>发货单</title>
</head>
<body onselectstart="return false">
<div id="container_1" style="height:100%">
    <div style="position: relative">
        <%@include file="header.jsp" %>
    </div>
    <div id="content" class="clearfix">
        <%@include file="left_menu.jsp" %>
        <!--内容部分-->
        <div class="right-content" style="margin:75px 50px 0 213px;">
            <p class="brand">
                <a>订单</a>><a class="now">发货单</a>
            </p>
            <div class="content">
                <div class="top-block">
                    <div class="search-box fl">
                        <input id="orderId" type="text" placeholder="请输入订单号/发货单号"/>
                        <span></span>
                    </div>
                    <div class="date fl">
                        <span class="fl">发货时间</span>
                        <input class="fl" id="datePicker" readonly placeholder="请选择开始日期"/>
                    </div>
                    <div class="export fr">
                        <span>批量导出</span>
                        <ul>
                            <li>本页导出</li>
                            <li>全部导出</li>
                        </ul>
                    </div>
                </div>
                <div class="product-list">
                    <table>
                        <thead>
                        <tr>
                            <td>发货单号</td>
                            <td>关联订单号</td>
                            <td>收货人</td>
                            <td>收货人电话</td>
                            <!-- <td>地区</td>
                            <td>收货地址</td> -->
                            <td>审批状态</td>
                            <td>发货状态</td>
                            <td></td>
                        </tr>
                        </thead>
                        <tbody class="data-tbody">
                        <%-- <c:forEach var="deliveryBill" items="${allDeliveryBill}">
	                        <tr>
	                            <td>${deliveryBill.code }</td>
	                            <td>${deliveryBill.orderCode }</td>
	                            <td>${deliveryBill.customer }</td>
	                            <td>${deliveryBill.contact }</td>
	                            <td>${deliveryBill.area }</td>
	                            <td>${deliveryBill.address }</td>
	                            	<c:if test="${deliveryBill.status=='待出库' }">
			                            <td class="state">
			                                <p class="chuku">${deliveryBill.status}</p>
			                            </td>
                     	            </c:if>
		                            <c:if test="${deliveryBill.status=='待发货' }">
			                            <td class="state">
			                                <p class="fahuo">${deliveryBill.status}</p>
			                            </td>
		                            </c:if>
		                            <c:if test="${deliveryBill.status=='待收货' }">
			                            <td class="state">
			                                <p class="shouhuo">${deliveryBill.status}</p>
			                            </td>
		                            </c:if>
		                            <c:if test="${deliveryBill.status=='已完成' }">
			                            <td class="state">
			                                <p class="wancheng">${deliveryBill.status}</p>
			                            </td>
		                            </c:if>
		                            <c:if test="${deliveryBill.status=='已取消' }">
			                            <td class="state">
			                                <p class="quxiao">${deliveryBill.status}</p>
			                            </td>
		                            </c:if>
	                            <td><fmt:formatDate value="${deliveryBill.deliveryTime}"  pattern="YYYY-MM-dd HH:mm"/></td>
	                            <td>
	                                <button class="detail">查看</button>
	                            </td>
	                        </tr>
	                        </c:forEach> --%>
                        </tbody>
                    </table>
                    <!-- -----分页----- -->
                    <div class="quotes" style="margin-top: 50px">
                </div>
            </div>
        </div>
        <script src="${pageContext.request.contextPath}/static/orderlang/distributor/js/delivery_bill.js"></script>
        <!--内容部分结束-->
    </div>
</div>
</body>
</html>